<main class="warehouse-goods-add-home">
    <nz-tabset (nzSelectedIndexChange)="onSelectChangeTab($event)">
        <nz-tab nzTitle="基本信息">
            <app-warehouse-goods-basic (bomList)="changeBomList($event)" (detailsParams)="changeParams($event)"></app-warehouse-goods-basic>
        </nz-tab>
        <nz-tab nzTitle="BOM信息({{bomList?.length}})" [nzDisabled]="routeParams.id == 0">
            <app-warehouse-goods-bom *ngIf="selectedIndex == 1" [bomList]="bomList" [detailsParams]="detailsParams"></app-warehouse-goods-bom>
        </nz-tab>
    </nz-tabset>
</main>